// src/stores/models/UserStore.ts
import { types, Instance } from "mobx-state-tree";

// 用户存储模型
export const UserStore = types.model("UserStore", {
  currentUser: types.maybe(types.frozen()),
  users: types.array(types.frozen()),
});

export type UserStoreInstance = Instance<typeof UserStore>;